#Para inicializar y testear la clase Unit.
#Hago la unidad Soldier, que inicializa las variables de Unit.

class Soldier():

    def __init__(self):

        self.life = 60
        self.armor = 80
        self.attack = 20
        self.speed = 20
        
    def __str__(self):

        return "Soldier"


class Tank():

    def __init__(self):

        self.life = 100
        self.armor = 400
        self.attack = 60
        self.speed = 40
        
    def __str__(self):

        return "Tank"

class Power_Ranger():

    def __init__(self):

        self.life = 800
        self.armor = 800
        self.attack = 200
        self.speed = 200
        
    def __str__(self):

        return "Power_Ranger"


class Bob():

    def __init__(self):

        self.life = 8000
        self.armor = 8000
        self.attack = 2000
        self.speed = 2000
        
    def __str__(self):

        return "Bob Esponja"